GPX: Change placed_by to read owner and not plced by.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 9 May 2005 20:51:53 +0000 (20:51 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 9 May 2005 20:51:53 +0000 (20:51 +0000)
Maggeo: Don't zero pad longitude as Geocache Manager doesn't.

gpsbabel/gpx.c
gpsbabel/maggeo.c

index ebb36bfb72a74169ab886564a8e84cac310b5221..73ef4596ec804a3e666df65e8340705887da1ef8 100644 (file)
@@ -179,7 +179,7 @@ tag_mapping tag_path_map[] = {
        { tt_cache_log_wpt, 1, "/gpx/wpt/groundspeak:cache/groundspeak:logs/groundspeak:log/groundspeak:log_wpt" },
        { tt_cache_log_type, 1, "/gpx/wpt/groundspeak:cache/groundspeak:logs/groundspeak:log/groundspeak:type" },
        { tt_cache_log_date, 1, "/gpx/wpt/groundspeak:cache/groundspeak:logs/groundspeak:log/groundspeak:date" },
-       { tt_cache_placer, 1, "/gpx/wpt/groundspeak:cache/groundspeak:placed_by" },
+       { tt_cache_placer, 1, "/gpx/wpt/groundspeak:cache/groundspeak:owner" },
 
        { tt_rte, 0, "/gpx/rte" },
        { tt_rte_name, 0, "/gpx/rte/name" },
index 91cbda08b64017f93784f7fabd1a8b0b6514bdae..f2674a479fb5625ee42fb22c66422ed656abd0cb 100644 (file)
@@ -170,7 +170,7 @@ maggeo_waypt_pr(const waypoint *waypointp)
         * 
         */
        snprintf(obuf, sizeof(obuf),
-               "PMGNGEO,%4.3f,%c,%09.3f,%c,%04.0f,F",
+               "PMGNGEO,%4.3f,%c,%08.3f,%c,%04.0f,F",
                 lat, ilat < 0 ? 'S' : 'N',
                 lon, ilon < 0 ? 'W' : 'E',
                 waypointp->altitude == unknown_alt ?